package gcontent.filter.string;

public class StringValue {
	
	public static final int WORD_CONTAINS = 0;
	public static final int WORD_EQUAL = 1;
	public static final int WORD_ENDS = 2;
	public static final int WORD_BEGINS = 3;
	
	public static final int STRING_CONTAINS = 20;
	public static final int STRING_BEGINS = 21;
	public static final int STRING_ENDS = 22;
	public static final int STRING_EQUALS = 23;
	public static final int FILE_NAME = 24;
	
	/* type search */
	private int type_search;
	
	/* value */
	private String value;
	
	public StringValue(String value, int type_search)
	{
		this.type_search = type_search;
		this.value = value;
	}
	
	public String getValue()
	{
		return this.value;
	}
	
	public int getTypeSearch()
	{
		return this.type_search;
	}	
}
